EPrints Technical Mailing List Archive

Message: #02012


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: How are the databases defined?


Hi Ian,

They're defined by MetaField/Counter.pm - by default its ISA is MetaField/Int, perhaps change this to MetaField/BigInt

Otherwise look for get_sql_type() in MetaField/*

Seb

On 13/06/13 15:58, Ian Stuart wrote:
I have a need to slightly redefined the database fields in an future
EPrint build.... I need to change the various counters & indexes to be
"BIGINT"s rather than "INT"s (I need more than 2 million eprintids, for
example)

I can see a way to fudge setting the constant "INTEGER" to be a BigInt
field... but I'm not sure I want to make *all* integer fields BigInts

How/Where are they defined?
(EP 3.2, if it makes a difference)